package com.zzy.mccjt.constant;

/**
 * @program: mccjt-cloud
 * @description: 请求常量
 * @author: zhouyang.zheng
 * @create: 2022-08-02 17:42
 **/
public class RequestConstant {

    public static final String AUTHORIZATION = "authorization";
    public static final String CURRENT_USER = "x-current-user";
    public static final String TENANT_ID = "x-tenant-id";
    public static final String TENANT_CODE = "x-tenant-code";
    public static final String TENANT_STATUS = "x-tenant-status";
    public static final int TENANT_UNAVAILABLE_STATUS = 0;
    public static final int TENANT_AVAILABLE_STATUS = 1;
    public static final int TENANT_IGNORE_STATUS = -1;
    public static final String USER_ROLES = "x-roles";
    public static final String USER_FLAG = "x-user-flag";
    public static final int B_USER_FLAG = 0;
    public static final int C_USER_FLAG = 1;
    public static final String FROM_GATEWAY = "from-gateway";

    public static final String ORIGIN_SYSTEM = "x-origin-system";
    public static final String SYSTEM_UNKNOWN = "unknown";
    public static final String SYSTEM_PICHU = "pichu";
    public static final String SYSTEM_SERVICE_CENTER = "service-center";

    // =========== Open API ==============

    public static final String CLIENT_KEY = "x-client-key";

}
